using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RelationshipAuditDetail : AuditDetail
	{
		private DataCollection<EntityReference> _targetRecords;
		[DataMember]
		public string RelationshipName
		{
			get;
			set;
		}
		[DataMember]
		public DataCollection<EntityReference> TargetRecords
		{
			get
			{
				if (this._targetRecords == null)
				{
					this._targetRecords = new DataCollection<EntityReference>();
				}
				return this._targetRecords;
			}
		}
	}
}
